<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/form/login/" method="post" enctype="multipart/form-data">
    <label for="id_username">用户名：</label><input id="id_username" maxlength="100" name="username" type="text" required/>
    <label for="id_password">密码：</label><input id="id_password" name="password" type="password" required/>
    <input type="submit" value="登录">
    {% csrf_token %}
</form>
</body>
</html>